package com.woniuxy.mapper;

import com.woniuxy.entity.SickBed;
import com.woniuxy.entity.dto.InHospitalDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SickBedMapper {
    //添加病床
    void addSickBed(@Param("sickBedList") List<SickBed> sickBedList);
    //查询病床
    List<SickBed> querySickBedByRoomId(Integer bRoomId);

    //根据id修改病床的状态
    Integer updateSbStatus(InHospitalDTO inHospitalDTO);

    //根据科室查询病房
    List<SickBed> queryListByDeId(Integer deId);


    //根据病房id批量修改病床状态
    void upDateSbStatus(@Param("ids")List<Integer> ids);

}
